<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>用户管理</title>

    <script src="../../myjs/util.js"></script>
    <script>
        isHasToken();
    </script>
    <script src="../../miniui/jquery.min.js" type="text/javascript"></script>
    <script src="../../miniui/miniui.js" type="text/javascript"></script>

    <link href="../../miniui/miniui.css" rel="stylesheet" type="text/css">

    <script src="../../miniui/scripts/boot.js"></script>
    <link href="../../miniui/frame/res/menu/menu.css" rel="stylesheet" type="text/css" />
    <script src="../../miniui/frame/res/menu/menu.js" type="text/javascript"></script>
    <link href="../../miniui/frame/res/tabs.css" rel="stylesheet" type="text/css" />
    <link href="../../miniui/frame/res/frame.css" rel="stylesheet" type="text/css" />
    <link href="../../miniui/frame/res/index.css" rel="stylesheet" type="text/css" />

    <style type="text/css">
        .icon-boy,
        .icon-female {
            width: 16px;
            height: 16px;
            overflow: hidden;
            margin: auto;
            background: url(../../images/user.gif) no-repeat;
            text-align: center;
            display: block;
        }

        .icon-female {
            background: url(../../images/user_female.gif) no-repeat;
        }

        .myrow {
            background: #fceee2;
        }
    </style>
</head>

<body>
    <div style="width:100%;">
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
            <table style="width:100%;">
                <tr>
                    <td style="width:100%;">
                        <a class="mini-button" iconCls="icon-add" onclick="add()">增加</a>
                        <a class="mini-button" iconCls="icon-edit" onclick="edit()">编辑</a>
                        <a class="mini-button" iconCls="icon-remove" onclick="remove()">删除</a>
                    </td>
                    <td style="white-space:nowrap;">
                        <input id="searchName" class="mini-textbox" emptyText="请输入账号或名称" style="width:150px;"
                            onenter="onKeyEnter" />
                        <a class="mini-button" onclick="search()">查询</a>
                    </td>
                </tr>
            </table>
        </div>
    </div>

    <div id="userGrid" class="mini-datagrid" style="height:380px;" allowResize="true" sizelist="[2,4,6,8]" pagesize="6"
        allowcellselect="true" multiselect="true">
        <div property="columns">
            <div type="checkcolumn" headeralign="center" align="center"></div>
            <div type="indexcolumn" headeralign="center" align="center">序号</div>
            <div field="uuid" headeralign="center" align="center" width="80">编号</div>
            <div field="username" headeralign="center" align="center" width="80">账号</div>
            <div field="nickname" headeralign="center" align="center" width="80">名称</div>
            <div field="sex" headeralign="center" renderer="onSexRenderer" align="center" width="80">性别</div>
            <div field="age" headeralign="center" align="center" width="80">年龄</div>
            <div field="createDate" headeralign="center" align="center" width="80">创建日期</div>
            <div field="status" headeralign="center" align="center" width="80">状态</div>
            <div name="action" width="120" headerAlign="center" align="center" renderer="onActionRenderer"
                cellStyle="padding:0;">操作</div>
        </div>
    </div>
</body>
</html>

<script src="../../myjs/user/user.js"></script>
